package com.cskaoyan.model.admin.vo;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName: StatUserRespVO
 * @Author: WangEnzhao
 * @Description: 统计用户报表返回的值
 * @CreateTime: 2021/11/11:46:00
 */
@Data
public class StatUserRespVO {

    /**
     * columns : ["day","users"]
     * rows : [{"day":"2019-04-20","users":1}]
     */
    private List<String> columns;
    private List<RowsEntityOfStatUserRespVO> rows;


    /**
    * @Author: WangEnzhao
    * @Description: 给columns初始化，后面需要更改直接调用columns的set方法即可
    * @CreateTime:
    * @Param:
    * @return:
    **/
    {
        List<String> strings = new ArrayList<>();
        strings.add("day");
        strings.add("users");
        columns = strings;
    }

}
